type math/rand.lockedSource
10 uses
math/rand (current package)
rand.go#L74: if lk, ok := r.src.(*lockedSource); ok {
rand.go#L261: if lk, ok := r.src.(*lockedSource); ok {
rand.go#L293: var globalRand = New(&lockedSource{src: NewSource(1).(*rngSource)})
rand.go#L296: var _ *rngSource = globalRand.src.(*lockedSource).src
rand.go#L382: type lockedSource struct {
rand.go#L387: func (r *lockedSource) Int63() (n int64) {
rand.go#L394: func (r *lockedSource) Uint64() (n uint64) {
rand.go#L401: func (r *lockedSource) Seed(seed int64) {
rand.go#L408: func (r *lockedSource) seedPos(seed int64, readPos *int8) {
rand.go#L416: func (r *lockedSource) read(p []byte, readVal *int64, readPos *int8) (n int, err error) {